3b62ad14b31cd0c59ec22041dab05df3a6e0adc0,source/com/intellij/debugger/ui/ExpressionEvaluationDialog.java,ExpressionEvaluationDialog,ExpressionEvaluationDialog,#Project#TextWithImports#,25
Before Change
KeyStroke resultStroke = KeyStroke.getKeyStroke(KeyEvent.VK_R, KeyEvent.ALT_MASK);
new AnAction() {
public void actionPerformed(AnActionEvent e) {
getExpressionCombo().requestFocus();
}
}.registerCustomShortcutSet(new CustomShortcutSet(expressionStroke), getRootPane());
new AnAction() {
public void actionPerformed(AnActionEvent e) {
After Change
final JRootPane rootPane = getRootPane();
final AnAction anAction = new AnAction() {
public void actionPerformed(AnActionEvent e) {
getExpressionCombo().requestFocus();
}
};
anAction.registerCustomShortcutSet(new CustomShortcutSet(expressionStroke), rootPane);
addDisposeRunnable(new Runnable() {
public void run() {
anAction.unregisterCustomShortcutSet(rootPane);